<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>双向绑定</title>
</head>
<body>
<div>
  {{info}}
<!--  v-model双向绑定，让空间的值和变量进行双向绑定，双向绑定只应用于控件中-->
  <input type="text" v-model="info">
</div>
<script src="../../js/vue.min.js"></script>
<script>
  let v = new Vue({
    el: "body>div",
    data:{
      info:"双向绑定"
    }
  })
</script>

</body>
</html>